<!doctype html>
<html>
<head>
<meta name="layout" content="main" />
<title>芜湖市督察支队 搜索内容</title>
<style type="text/css">
.pager {
	padding: 0 5;
}

.pager a,input {
	display: block;
	color: #0072bc;
	padding: 2px;
	margin: 0px 3px 0px 3px;
	border: 1px solid #0072bc;
	float: left;
}

.pager a .disabled {
	color: #gray;
}

.pager label {
	display: block;
	color: #0072bc;
	margin: 0px 2px 0px 2px;
	float: left;
}

.pager .disabled {
	display: block;
	margin: 0px 2px 0px 2px;
	border: 1px solid #d9ebff;
	float: left;
}
</style>
</head>
<body bgcolor="#ffffff" topmargin="0" leftmargin="0">
<form id="mainForm" method="post">
	<table width="1004" align="center" cellspacing="8" cellpadding="0"
		border="0" bgcolor="#FFFFFF">
		<tbody>
			<tr valign="top">
				<td width="260" valign="top" align="center"
					background="/inspector/images/nzcms_left_bg.gif">
					<table width="100%" cellspacing="0" cellpadding="0" border="0"
						class="nzcms_left_bg">
						<tbody>
							<tr>
								<td width="35" align="center" height="35"><img width="16"
									height="16" alt="分类" src="/inspector/images/word.gif"></td>
								<td><span class="white14B">[搜索内容 >&nbsp;]&nbsp;信息导航</span>
								</td>
							</tr>
						</tbody>
					</table>

					<table cellspacing="0" cellpadding="0" border="0" height="10">
						<tbody>
							<tr>
								<td></td>
							</tr>
						</tbody>
					</table>
					
					<table width="96%" cellspacing="0" cellpadding="0" border="0">
						<tbody>
							<tr>
								<td width="70" align="left" height="35">
								<label>选择菜单：</label> 
								<menu:selmenu />
								</td>
							</tr>
							<tr>
								<td align="left">
									<label for="search"> 查询文本：</label>
									 <input	id="search" name="search" type="text" value="${params.search}" style="float:none;display:inline;"/>
								</td>
							</tr>
							<tr>
								<td align="left">
									<input type="submit" value="搜索"/>
								</td>
							</tr>
						</tbody>
					</table>
				
				<td align="left">
					<table width="98%" cellspacing="0" cellpadding="0" border="0"
						bgcolor="#F5F5F5" class="bg_qc">
						<tbody>
							<tr>
								<td width="25" align="center" height="20"><img alt="标"
									src="/inspector/images/nzcms.xinxin.gif"></td>
								<td class="p12">您的位置： <a href="/inspector">首页</a>
								</td>
							</tr>
						</tbody>
					</table>

					<table cellspacing="0" cellpadding="0" border="0" height="10">
						<tbody>
							<tr>
								<td></td>
							</tr>
						</tbody>
					</table> <!--文章显示 -->
					<table width="98%" cellspacing="0" cellpadding="0" border="0"
						background="/inspector/images/nzcms/list_news_bg.gif">
						<tbody>
							<tr>
								<td width="190" align="center" height="33" class="title14b">
									网站搜索</td>
								<td align="right">&nbsp;&nbsp;</td>
								<td>&nbsp;</td>
							</tr>
						</tbody>

						<!-- grid 文档列表 -->
						<g:if test="${contentList.size() > 0 }">
							<g:each in="${contentList }" var="c">
								<table width="98%" align="center" cellspacing="0"
									cellpadding="0" border="0" class="dx">
									<tbody>
										<tr>
											<td width="35" align="center" height="40"><img alt="图标"
												src="/inspector/images/txt.png"></td>
											<td align="left" class="p14"><a target="_blank"
												href="/inspector/content/show/${c.id }"
												title="标题：${c.title } &#13;来源：${c.source} &#13;作者:${c.author}">
													${c.title.size() > 27? c.title.substring(0,28) + ".." : c.title }
											</a></td>
											<td width="120" align="center">浏览：${c.readCount }次
											</td>
											<td width="140" align="center">发稿：${c.createTime.format("yyyy年MM月dd日") }
											</td>
										</tr>
									</tbody>
								</table>
							</g:each>
						</g:if>

						<g:else>
							<table width="98%" align="center" cellspacing="0" cellpadding="0"
								border="0" class="dx">
								<tbody>
									<tr>
										<td align="left" class="p14">当前菜单下未找到内容列表，需要后台维护</td>
									</tr>
								</tbody>
							</table>
						</g:else>
						<!-- 分页条 -->
						<table align="center" border="0">
							<tbody>
								<tr>
									<td align="right">
										<p align="center">
											<script type="text/javascript">
													function postPage(offset){
														$('#offset').val(offset)											
														$('#mainForm').submit()
													}			
											</script>
											<content:pager form="mainForm"  total="${total}" max="${max}"
												offset="${offset}" />
										</p>
									</td>
								</tr>
							</tbody>
						</table>
						</td>
						</tr>
						</tbody>
					</table>
						</form>
</body>
</html>